package com.kingmed.kmss.framework.feign.client.dict;


import com.kingmed.kmss.common.dto.admin.sys.SysDataDictDTO;
import com.kingmed.kmss.common.exception.InternalApiException;
import com.kingmed.kmss.common.vo.CommonResponse;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public class DictFeignFallbackService implements DictFeignService {

	@Override
	public CommonResponse<List<SysDataDictDTO>> querySysDataDictByCode(String dictCode) {
		throw new InternalApiException("->admin dict service: 失败");

	}

	@Override
	public CommonResponse<List<SysDataDictDTO>> queryAllSysDataDict(SysDataDictDTO params) {
		throw new InternalApiException("->admin dict service: 失败");
	}

	/**
	 * 批量查询字典数据
	 *
	 * @param dictCodes
	 */
	@Override
	public CommonResponse<Map<String, List<SysDataDictDTO>>> queryByCodeBatch(List<String> dictCodes) {
		throw new InternalApiException("->admin dict service: 失败");
	}

}
